﻿using SmartPlant.Core.Mvvm;
using System.Collections.ObjectModel;

namespace SmartPlan.TelerikExt
{
    public class GroupViewModel : SmartViewModel
    {
        private string text = string.Empty;

        private ObservableCollection<ButtonViewModel> buttons;

        public GroupViewModel()
        {
            buttons = new ObservableCollection<ButtonViewModel>();
        }

        public ObservableCollection<ButtonViewModel> Buttons
        {
            get
            {
                return buttons;
            }
        }

        /// <summary>
        ///     Gets or sets Text.
        /// </summary>
        public string Text
        {
            get
            {
                return this.text;
            }
            set { SetProperty(ref text, value); }
        }
    }
}
